package com.yyyyglxt.yygl.workdayManage.service.impl;

import com.yyyyglxt.yygl.workdayManage.dao.WorkdayDao;
import com.yyyyglxt.yygl.workdayManage.domain.WorkdayDO;
import com.yyyyglxt.yygl.workdayManage.service.WorkdayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class WorkdayServiceImpl implements WorkdayService {
	@Autowired
	private WorkdayDao workdayDao;
	
	@Override
	public WorkdayDO get(Integer wid){
		return workdayDao.get(wid);
	}
	
	@Override
	public List<WorkdayDO> list(Map<String, Object> map){
		return workdayDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return workdayDao.count(map);
	}
	
	@Override
	public int save(WorkdayDO workday){
		return workdayDao.save(workday);
	}
	
	@Override
	public int update(WorkdayDO workday){
		return workdayDao.update(workday);
	}
	
	@Override
	public int remove(Integer wid){
		return workdayDao.remove(wid);
	}
	
	@Override
	public int batchRemove(Integer[] wids){
		return workdayDao.batchRemove(wids);
	}
	
}
